$(document).ready(function(){
	
    $("#accordion").accordion({
    	autoHeight: false
    });
	
	$("#codeDialog").dialog({
		autoOpen: false,
		width: 800,
		title: "Java code for this chart's configuration",
		height: 600,
		modal: true
	});
	
	$("#showCodeButton").button();
	$("#highchartsButton").button();
	
	$("#showCodeButton").click(function(){
		$("#codeDialog").dialog("open");
	});
	
	
	SyntaxHighlighter.all();

});